<template>
    <!-- 实名认证成功 -->
    <pagebox class="pagebox" shownav istabbox isback navtitle="认证成功">
        <!-- 内容盒子 -->
        <view class="form" slot="cent">
            <view class="result">
                <image src="/static/img/mine/certification-ok.png"></image>
                <view class="tip">
                    认证成功
                </view>
            </view>
            <view class="info">
                <view class="tip">认证信息如下</view>
                <view class="item">
                    <view class="label">姓名</view>
                    <view class="val">张三</view>
                </view>
                <view class="item">
                    <view class="label">证件号码</view>
                    <view class="val">24542010010854242</view>
                </view>
                <view class="item">
                    <view class="label">认证时间</view>
                    <view class="val">2023.12.20</view>
                </view>
            </view>
            <!-- form-submit begin -->
            <view class="footer">
                <button type="button">提交</button>
            </view>
            <!-- form-submit end -->
        </view>
    </pagebox>
</template>

<script>
export default {
    data() {
        return {
        }
    },
    async onLoad() {
    },
    methods: {
    }
}
</script>

<style lang="scss" scoped>
/deep/ .pagebox {
    background-color: $bg-color-white;
}

.pagebox {
    background-color: $bg-color-white;

    .result {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60rpx 0;
        font-size: $font-size-medium;

        view {
            padding: 30rpx 0;
        }

        image {
            width: 100rpx;
            height: 100rpx;
        }
    }

    .info {
        display: flex;
        flex-direction: column;

        view {
            margin: 15rpx;
        }

        .tip {
            color: #999999;
        }

        .item {
            display: flex;
            justify-content: space-between;
            border-radius: 50rpx;
            border: 1rpx solid #c7c7c7;
            padding: 0 10rpx;

            .label {
                color: #707070;
            }

            .val {
                color: #434141;
            }
        }
    }
}

.footer {
    height: 120rpx;
    padding: 10rpx 20rpx;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFFFFF;
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);

    button {
        width: 100%;
        height: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50rpx;
        color: #FFFFFF !important;
        background: #ad2325 !important;
    }
}
</style>
